package com.example.adminframework.constant;

public class SystemMonitoring {
    //字节转mb
    public static final double MB = 1024 * 1024 * 1.0;
    //字节转gb
    public static final double GB = 1024 * 1024 * 1024 * 1.0;
    //GB常量
    public static final String GB_STR = "GB";
    //MB常量
    public static final String MB_STR = "MB";
    //java版本
    public static final String JAVA_VERSION = "java.version";
    //jvm安装路径
    public static final String JAVA_HOME = "java.home";
    //项目路径
    public static final String USER_DIR = "user.dir";
    //操作系统名称
    public static final String OS_NAME = "os.name";
    //操作系统架构
    public static final String OS_ARCH = "os.arch";
}
